#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int a[] = { 6,1,2,7,9,3,4,5,10,8 };
	PrintArray(a, 10);
	QuickSort(a, 0, 9);
	PrintArray(a, 10);
	return 0;
}